package com.manager.core.ad.tip;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import com.xianfeng.bb.R;

public class RvIconTipsView extends FrameLayout {

    public RvIconTipsView(@NonNull Context context, int i, String str, String str2) {
        super(context);
        LayoutInflater.from(context).inflate(R.layout.reward_video_icon_tips, this);
        TextView textView = (TextView) findViewById(R.id.tv_reward_title);
        TextView textView2 = (TextView) findViewById(R.id.tv_reward_tips);
        ImageView imageView = (ImageView) findViewById(R.id.ic_reward_tips);
        textView.setText(str);
        textView2.setText(str2);
        imageView.setImageResource(i);
    }
}
